package com.cowin.inf.model;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "KY_DEVICE_STATE")
public class KyDeviceState {
    @Id
    @Column(name = "DEVICE_ID")
    private Integer deviceId;

    @Column(name = "FAULT_CODE")
    private String faultCode;

    @Column(name = "NODE_TIME")
    private Date nodeTime;

    @Column(name = "BREAK_REASON")
    private String breakReason;

    @Column(name = "HEARTBEAT_TIME")
    private Date heartbeatTime;


}